import DeviceDetailPage from '@/page/DeviceDetailPage.vue'
import DevicePage from '@/page/DevicePage.vue'
import FirmFilePage from '@/page/FirmFilePage.vue'
import FirmTypePage from '@/page/FirmTypePage.vue'
import HomePage from '@/page/HomePage.vue'
import LoginPage from '@/page/LoginPage.vue'
import ProjPage from '@/page/ProjPage.vue'
import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: ProjPage,
    }, {
      path: '/home',
      component: HomePage,
      children: [

      ]
    }, {
      path: '/proj',
      component: ProjPage,
    }, {
      path: '/firm_type',
      component: FirmTypePage,
    }, {
      path: '/firm_file',
      component: FirmFilePage,
    }, {
      path: '/device',
      component: DevicePage,
    }, {
      path: '/device_detail',
      component: DeviceDetailPage,
    }
  ],
})

export default router
